package cn.wolfcode.cloud.utils;

import cn.wolfcode.cloud.shop.common.CodeMsg;
import lombok.Getter;
import lombok.Setter;

/**
 * @Description: redis的异常信息封装类
 * @Author: 伍家钰
 * @Date: 2020/9/7 14:05
 * @Version: 1.0
 */
@Getter
@Setter
public class RedisCodeMsg extends CodeMsg {
    public RedisCodeMsg() {
    }

    public RedisCodeMsg(int code, String msg) {
        super(code, msg);
    }

    public static final RedisCodeMsg REDIS_ERROR = new RedisCodeMsg(60100, "redis系统故障");
}
